// skuList数据接口
export interface SkuListData {
  records: SkuList
  total: number
}
export type SkuList = SkuItem[]
export interface SkuItem {
  id: number
  spuId: number
  price: number
  skuName: string
  skuDesc: string
  weight: string
  tmId: null
  category3Id: number
  skuDefaultImg: string
  isSale: number
  skuImageList: null
  skuAttrValueList: null
  skuSaleAttrValueList: null
}

// 单条sku数据接口
export interface SKuType {
  id?: number
  spuId?: number
  price: number
  skuName: string
  skuDesc?: string
  weight?: string
  tmId?: null
  category3Id?: number
  skuDefaultImg?: string
  isSale?: number
  skuImageList?: SkuImgList
  skuAttrValueList: SkuAttrValueList
  skuSaleAttrValueList: SkuSaleAttrValueList
}
export type SkuImgList = SkuImg[]
export interface SkuImg {
  id: number
  skuId: number
  imgName: string
  imgUrl: string
  spuImgId: number
  isDefault: string
}
export type SkuAttrValueList = SkuAttrValueItem[]
export interface SkuAttrValueItem {
  id: number
  attrId: number
  valueId: number
  skuId: number
  attrName: string
  valueName: string
}
export type SkuSaleAttrValueList = SkuSaleAttrValueItem[]
export interface SkuSaleAttrValueItem {
  id: number
  skuId: number
  spuId: number
  saleAttrValueId: number
  saleAttrId: number
  saleAttrName: string
  saleAttrValueName: string
}
